#include "cons.h"
#include "object.h"
#include "mm.h"
#include <stdlib.h>

CONS * Cons(void * car, void * cdr)
{
  CONS * new = (CONS *) malloc (sizeof(CONS));
  new->car = car;
  new->cdr = cdr;
  return new;
}

void * Car(CONS * cons)
{
  return cons->car;
}

void * Cdr(CONS * cons)
{
  return cons->cdr;
}
